Add invoiceId to AtsPurchaseOrder and enhance terminal fields#181
Merged
Conversation
- Added invoiceId field to AtsPurchaseOrder class to store invoice identifier (chNFe/chCTe). - Updated JSON serialization and deserialization methods to include invoiceId. - Modified related classes and methods to accommodate the new field. - Updated dependencies in pubspec.yaml for json_annotation to version 4.11.0. - Added new reference categories for terminal access in references.
…s into development
…categories - Add linkedStorageTerminals and linkedStorageTerminalsIds to Asset and AssetInput - Add invoiceId field to AtsPurchaseOrder - Add atsGetAllTerminals and atsStorageReceptionAccess to ReferenceCategory enum - Bump json_annotation to ^4.11.0 - Bump version to 3.8.1 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
📋 Changelog SummaryThis PR includes the following changes: ✨ Features
🐛 Bug Fixes
🤖 Auto-generated by changelog workflow |
json_annotation ^4.11.0 is incompatible with json_serializable ^6.11.0 and flutter_test from the Flutter SDK. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
📊 Test Coverage Report🎯 Dart/Flutter
🤖 Generated by coverage workflow |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces several schema and model enhancements, primarily focusing on the
AssetandAtsPurchaseOrdermodels, along with some supporting enum and dependency updates. These changes improve data modeling for linked storage terminals and purchase orders, and expand the reference categories available in the system.Asset Model Enhancements:
linkedStorageTerminals(list ofAsset) andlinkedStorageTerminalsIds(list ofString) fields to theAssetmodel, enabling assets to reference related storage terminal assets. [1] [2] [3]AssetInputmodel to include thelinkedStorageTerminalsIdsfield, allowing input of related storage terminal asset IDs. [1] [2] [3]AtsPurchaseOrder Model Enhancement:
invoiceIdfield to theAtsPurchaseOrdermodel to store the invoice identifier (such as chNFe/chCTe), and updated all relevant methods and equality/hash implementations to support this field. [1] [2] [3] [4] [5]Enum and Dependency Updates:
atsGetAllTerminalsandatsStorageReceptionAccessvalues to theReferenceCategoryenum.json_annotationdependency to^4.11.0for improved JSON serialization support.For more details, see the changelog entry for version 3.8.1.